package cn.com.jtang.wedding.dao;

import java.util.List;
import java.util.Map;

import cn.com.jtang.wedding.model.Orders;

public interface OrdersDao {
	public String insert(Orders orders);
	
	public Orders queryById(Long id);
	
	public int updateById(Long id, Orders orders);
	
	public int deleteById(Long id);
	
	public List queryAll(Map<String, Object> map, int start,int end, String... orderByStr);

	public int getCount(Map<String, Object> map);
}
